/*******************************************************************************
 * Copyright (c) 2011 Olexandr V. Shaposhnikov.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Olexandr V. Shaposhnikov - initial API and implementation and/or initial documentation
 *******************************************************************************/
package com.funkyroach.use.core.completion;

import org.eclipse.dltk.ui.text.ScriptTextTools;
import org.eclipse.dltk.ui.text.completion.ContentAssistPreference;

import com.funkyroach.use.plugin.USPlugin;

public class USContentAssistPreference extends ContentAssistPreference {

    private static USContentAssistPreference s_Instance = null;

    public static USContentAssistPreference getDefault() {
        if (s_Instance == null) {
            s_Instance = new USContentAssistPreference();
        }
        return s_Instance;
    }

    @Override
    protected ScriptTextTools getTextTools() {
        return USPlugin.instance().getTextTools();
    }

}
